import { Axios } from './https.js'; // 引入ajax 

//企业基础信息查询
export const entInfo = params => {
    return Axios("ent/basicInfo", params, 'post');
}

//企业基础信息编辑
export const UpdateEntInfo = params => {
    return Axios("/ent/basicInfoedit", params, 'post');
}


//企业开票信息
export const billInfo = params => {
    return Axios("ent/billInfo", params, 'post');
}

//企业收款账号
export const InvoiceInfo = params => {
    return Axios("ent/collectionAccount", params, 'post');
}

//企业保单查询
export const policyInquiry = params => {
    return Axios("ent/policyInquiry", params, 'post');
}

//核保页面保单详情查询
export const underwritingDetail = params => {
    return Axios("ent/underwritingDetail", params, 'post');
}

//核保页面查询分成
export const applyDivid = params => {
    return Axios("apply/divid", params, 'post');
}


//投保参数配置基础信息
export const configBasicDate = params => {
    return Axios("basic/configDate", params, 'post');
}

//理赔列表查询
export const claimQueryList = params => {
    return Axios("claim/query", params, 'post');
}

//理赔详情查询
export const claimDetail = params => {
    return Axios("claim/detail", params, 'post');
}

//批单列表查询
export const policyCorrectionList = params => {
    return Axios("policyCorrection/query", params, 'post');
}

//批单详情查询
export const policyCorrectiondetail = params => {
    return Axios("policyCorrection/detail", params, 'post');
}



//计算主险
export const ApplicationInsCalMainFee = params => {
    return Axios("ApplicationIns/CalMainFee", params, 'post');
}

//计算附加险
export const ApplicationInsGetRisks = params => {
    return Axios("ApplicationIns/GetRisks", params, 'post');
}

//查询责任心额
export const ApplicationInsGetLimiteRisk = params => {
    return Axios("ApplicationIns/GetLimiteRisk", params, 'post');
}

//财政补贴
//申请列表查询
export const financialApplyList = params => {
    return Axios("financial/ApplyList", params, 'post');
}